//show为显示数据，delete为删除数据，form为添加数据，up为上传图片
var url = 'http://localhost:8089'
// tomvat配置url http://localhost:8089/OnlineEducation_zhx_war_exploded

var chatting={
    "show":"/auth/chatting/showChattingRecords",
    "showOffLineNew":"/auth/chatting/showOffLineNew"
}
var user={
    "login":"/auth/login",
    "add":"/auth/register",
    "yanzheng":url+"auth/yanzheng",
    "updatePassword":url+"auth/updatePassword",
    "checkTeacher":"/auth/showCheckTeacher",
    "check":"/auth/updateCheck",

    "updateUserInfo":"/auth/updateUserInfo"
}
var classes={
    "add":url+"/auth/classes/insertClasses",
    "show":url+"/auth/classes/selectAllclasses",
    "update":url+"/auth/classes/updateClasses",
    "delete":url+"/auth/classes/deleteClasses",
    "updateState":url+"auth/breakdown/updateBreakdownState",
    "adminUpdate":"/auth/breakdown/adminUpdateState"
}
var timetable={
    "showtimetable":"/auth/timetable/showTimeTable",
    "importTable":"/auth/timetable/readExcelFile"
}
var resource={
    "show":"/auth/resource/showResource",
    "download":"/auth/resource/download",
    "upload":"/auth/resource/upload",
    "delete":"/auth/resource/delete"
}

var sign = {
    "signin":"/auth/attendance/signinIn",
    "signout":"/auth/attendance/signinOut",
    "checkSignin":"/auth/attendance/checkSignin",
    "checkSignOut":"/auth/attendance/checkSignOut",
    "selectSign":"/auth/attendance/selectAttendance",
    "selectAllTeacher":"/auth/attendance/selectAllTeacher",
}

var menu = {
    "showAll":"/auth/menu/showAllMenu",
    "showMenuByRoleId":"/auth/menu/showMenuByRoleId",
    "updateMenu":"/auth/menu/updateMenu"
}
var role = {
    "showRole":"/auth/showAllRole",
    "insert":"/auth/insertRole",
    "update":"/auth/updateRole",
    "delete":"/auth/deleteRole"
}
